/*
 * @Description: 
 * @Author: Zhangx
 * @Date: 2023-07-28 10:57:09
 * @LastEditors: Zhangx
 * @LastEditTime: 2023-07-28 14:27:38
 */
/*
 * @Description: 
 * @Author: Zhangx
 * @Date: 2023-07-28 10:57:09
 * @LastEditors: Zhangx
 * @LastEditTime: 2023-07-28 14:24:53
 */
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
    {
      path: '/about',
      name: 'about',
      component: () => import('../views/AboutView.vue')
    },
    {
      path: '/curd',
      name: 'curd',
      component: () => import('../views/curdDialogs.vue')
    }
  ]
})

export default router
